package com.sunnos.express.entity;

import java.io.Serializable;
import java.util.List;

public class Right implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -1343515932609829236L;
	private int id;
	private int parentId;
	private String name;
	private String url;
	private int level;
	private List<Right> childNode;
	private boolean isLeaf = true;
	private int isOperation;
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getParentId() {
		return parentId;
	}
	public void setParentId(int parentId) {
		this.parentId = parentId;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public int getLevel() {
		return level;
	}
	public void setLevel(int level) {
		this.level = level;
	}
	public List<Right> getChildNode() {
		return childNode;
	}
	public void setChildNode(List<Right> childNode) {
		this.childNode = childNode;
	}
	public boolean getIsLeaf() {
		return isLeaf;
	}
	public void setIsLeaf(boolean isLeaf) {
		this.isLeaf = isLeaf;
	}
	public int getIsOperation() {
		return isOperation;
	}
	public void setIsOperation(int isOperation) {
		this.isOperation = isOperation;
	}
	public void setLeaf(boolean isLeaf) {
		this.isLeaf = isLeaf;
	}	
	

	
}
